package celiasoft.itasalib.structures;

import java.util.Date;


public class MyItasaSubtitle extends DataElement {
	
	private SubsVersion _version;
	private Date _submitDate;
	private int _showId = -1;
	private Date _downloadDate;
	

	public MyItasaSubtitle(int id, String name) {
		super(id, name);
	}

	public MyItasaSubtitle(int id) {
		super(id, null);
	}
	
	/**
	 * @return the version
	 */
	public SubsVersion getVersion() {
		return _version;
	}

	/**
	 * @param version the version to set
	 */
	public void setVersion(SubsVersion version) {
		_version = version;
	}

	
	
	@Override
	public String toString() {
		return "Subtitle [id=" + getId() +  ", name=" + getName() + ", version=" +  _version + "]";
	}


	/**
	 * @return the submitDate
	 */
	public Date getSubmitDate() {
		return _submitDate;
	}

	/**
	 * @param submitDate the submitDate to set
	 */
	public void setSubmitDate(Date submitDate) {
		_submitDate = submitDate;
	}

	
	/**
	 * @return the showId
	 */
	public int getShowId() {
		return _showId;
	}

	/**
	 * @param showId the showId to set
	 */
	public void setShowId(int showId) {
		_showId = showId;
	}

	/**
	 * @return the downloadDate
	 */
	public Date getDownloadDate() {
		return _downloadDate;
	}

	/**
	 * @param downloadDate the downloadDate to set
	 */
	public void setDownloadDate(Date downloadDate) {
		_downloadDate = downloadDate;
	}
}
